<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/29/029
 * Time: 0:25
 */

namespace app\api\controller;


class ApiImpower extends Rest
{

    public function index()
    {
        if (1 != self::check_power(3)) {
            return $this->data;
        }
    }

//    ���ϵͳAPIȨ�� AuthȨ��
    public function addAuth()
    {
        if (1 != self::check_power(3)) {
            return $this->data;
        }
    }

    //ɾ��ϵͳAPIȨ�� AuthȨ��
    public function delAuth()
    {
        if (1 != self::check_power(3)) {
            return $this->data;
        }
    }


    public function getAuth()
    {
        if (1 != self::check_power(3)) {
            return $this->data;
        }
    }
}